import React from 'react';
import Filter from '../compments/filter';
import {connect}  from 'react-redux';

const mapStateToProps= state=>{
    return {
        filter:state.filter
    }
}

const mapDispatchProps = dispatch=>{
    return {
        dispatch
    }
}

let FilterContainer = connect(mapStateToProps,mapDispatchProps)(Filter);
export default FilterContainer;